home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Communications / pcomm / Source / dial_dir.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  932 b   |  35 lines

  1. /*
  2.  * The dialing directory structure.  The first eight elements are
  3.  * contained in the pcomm.dial_dir file.
  4.  */
  5.  
  6. #define NUM_DIR        100
  7. #define NUM_QUEUE    10
  8. #define FAST        0
  9. #define SLOW        1
  10. #define QUIET        0
  11. #define VERBOSE        1
  12.  
  13. struct DIAL_DIR {
  14.     char    *name[NUM_DIR+1];    /* name of system being called */
  15.     char    *number[NUM_DIR+1];    /* phone number */
  16.     int    baud[NUM_DIR+1];    /* baud rate */
  17.     char    parity[NUM_DIR+1];    /* parity */
  18.     int    dbits[NUM_DIR+1];    /* data bits */
  19.     int    sbits[NUM_DIR+1];    /* stop bits */
  20.     char    duplex[NUM_DIR+1];    /* duplex (F = full, H = half) */
  21.     char    *script[NUM_DIR+1];    /* script name (or TTY) */
  22.  
  23.     int    q_num[NUM_QUEUE];    /* entry numbers in the queue */
  24.     char    q_ld[NUM_QUEUE];    /* LD codes in the queue */
  25.  
  26.     int    d_entries;        /* number of entries in the file */
  27.     int    d_cur;            /* the current entry */
  28.  
  29.     char    *d_path;        /* path to the pcomm.dial_dir file */
  30. };
  31.  
  32. #ifndef MAIN
  33. extern struct DIAL_DIR *dir;
  34. #endif /* MAIN */
  35.